ConstraintGuide getters: annotate out parameters as such
authorBart Jacobs <bart.jacobs@cs.kuleuven.be>
Mon, 27 Sep 2021 21:23:45 +0000 (21:23 +0000)
committerBart Jacobs <bart.jacobs@cs.kuleuven.be>
Mon, 27 Sep 2021 21:23:45 +0000 (21:23 +0000)
gtk/gtkconstraintguide.c

index f6fcd8d546f9999320c19a674cfc79edf89f4c72..512b91cfd469ac29400fe7cffdaefc8876594d99 100644 (file)
@@ -500,8 +500,8 @@ gtk_constraint_guide_set_min_size (GtkConstraintGuide *guide,
 /**
  * gtk_constraint_guide_get_min_size:
  * @guide: a `GtkConstraintGuide` object
- * @width: (nullable): return location for the minimum width
- * @height: (nullable): return location for the minimum height
+ * @width: (out) (optional): return location for the minimum width
+ * @height: (out) (optional): return location for the minimum height
  *
  * Gets the minimum size of @guide.
  */
@@ -552,8 +552,8 @@ gtk_constraint_guide_set_nat_size (GtkConstraintGuide *guide,
 /**
  * gtk_constraint_guide_get_nat_size:
  * @guide: a `GtkConstraintGuide` object
- * @width: (nullable): return location for the natural width
- * @height: (nullable): return location for the natural height
+ * @width: (out) (optional): return location for the natural width
+ * @height: (out) (optional): return location for the natural height
  *
  * Gets the natural size of @guide.
  */
@@ -604,8 +604,8 @@ gtk_constraint_guide_set_max_size (GtkConstraintGuide *guide,
 /**
  * gtk_constraint_guide_get_max_size:
  * @guide: a `GtkConstraintGuide` object
- * @width: (nullable): return location for the maximum width
- * @height: (nullable): return location for the maximum height
+ * @width: (out) (optional): return location for the maximum width
+ * @height: (out) (optional): return location for the maximum height
  *
  * Gets the maximum size of @guide.
  */